/******************************************************************************
 * @File name   :      memberPackageRedemptionDto.java
 *
 * @Author      :      JIZHANGS
 *
 * @Date        :      Nov 3, 2015
 *
 * @Copyright Notice: 
 * Copyright (c) 2015 Capgemini, Inc. All  Rights Reserved.
 * This software is published under the terms of the Capgemini Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * Nov 3, 2015 1:33:28 PM        JIZHANGS     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.crmdp.dealer.mars.dto;

import java.io.Serializable;

import org.apache.commons.lang3.StringUtils;


/**
 *
 */
public class ItemForCouponDto implements Serializable{

    /**
     * 
     */
    private static final long serialVersionUID = -8700117146104410327L;
 // 产品类型
    private String itemType;
 // 产品代码
    private String itemNo;
    // 代码源0：WeCare1：MARS
    private String itemSource;
    private String quantity;
    private String discount;
    
    private String description;
    
    public void initData(){
    	if(StringUtils.equals(itemType, "2")){
    		this.itemNo = "";
    		this.itemSource = "";
    		this.quantity = "";
    		this.discount = "";
    	}else{
    		this.description = "";
    	}
    }

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public String getItemType() {
		return itemType;
	}

	public void setItemType(String itemType) {
		this.itemType = itemType;
	}

	public String getItemNo() {
		return itemNo;
	}

	public void setItemNo(String itemNo) {
		this.itemNo = itemNo;
	}


	public String getItemSource() {
		return itemSource;
	}

	public void setItemSource(String itemSource) {
		this.itemSource = itemSource;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
    

    
    
}
